package com.siyougame.business.convert.inspect;

import java.util.*;

import com.siyougame.business.controller.app.vo.AppInspectCreateReqVO;
import com.siyougame.business.controller.app.vo.AppInspectRespVO;
import com.siyougame.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.siyougame.business.controller.admin.inspect.vo.*;
import com.siyougame.business.dal.dataobject.inspect.InspectDO;

/**
 * 检查记录 Convert
 *
 * @author ${table.author}
 */
@Mapper
public interface InspectConvert {

    InspectConvert INSTANCE = Mappers.getMapper(InspectConvert.class);

    InspectDO convert(InspectCreateReqVO bean);
    InspectDO convertApp(AppInspectCreateReqVO bean);

    InspectDO convert(InspectUpdateReqVO bean);

    InspectRespVO convert(InspectDO bean);
    AppInspectRespVO convertApp(InspectDO bean);

    List<InspectRespVO> convertList(List<InspectDO> list);

    PageResult<InspectRespVO> convertPage(PageResult<InspectDO> page);
    PageResult<AppInspectRespVO> convertAppPage(PageResult<InspectDO> page);

    List<InspectExcelVO> convertList02(List<InspectDO> list);

}
